﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace BanSupport
{
    public class TestCommand : MonoBehaviour
    {

        void Start()
        {
            var moveMoveActionData = new MoveActionData();
            //var json = JsonUtility.ToJson(moveMoveActionData);
            var jsonStr = Tools.Serialize(moveMoveActionData);
            var transData = Tools.Deserialize<MoveActionData>(jsonStr);
            Debug.Log(transData.posX);

            //Debug.Log("json:" + jsonStr);
        }

    }

}
